# Clearing the Landing Zone metadata cache

To improve performance when reading from the Landing Zone or from the Data Warehouse tables, Compose caches the metadata from both the Landing Zone and the Data Warehouse tables. However, synchronization issues may sometimes occur if the metadata structure of the Landing Zone or the Data Warehouse tables is altered outside of the Compose project.

If you aware of external changes to the metadata or if you notice any data synchronization anomalies, Compose enables you to clear the metadata cache, either using the UI or using the CLI.

You can clear the Landing Zone metadata cache using either the Compose web console or the Compose CLI.

## Clearing the metadata cache using the web console

When using the web console to clear the metadata cache, the following methods are available:

Method 1:

1. Open the Source Table/View Selection - &lt;Landing\_Zone\_Name&gt; window as described in [Discovering the Source Database or Landing Zone](https://help.qlik.com/en-US/compose/December2024/Content/ComposeDWDL/Main/DW/Model/discover_source_database_or_landing_area.htm).
2. Click the Clear Cache button located below the Show internal Qlik tables option.

Method 2:

1. Click the Manage button at the bottom left of the Data Warehouse panel.

   The Manage Data Warehouse Tasks window opens.

2. In the Mappings tab, click Clear Landing Cache.

For information on clearing the Data Warehouse cache, see [Clearing the data warehouse metadata cache](https://help.qlik.com/en-US/compose/December2024/Content/ComposeDWDL/Main/DW/Data%20Warehouse/clear_metadata.htm).

## Clearing the metadata cache using the CLI

You can also clear the metadata cache using the CLI.

## Command syntax:

` ComposeCli.exe clear_cache --project project_name [--type landing|storage] [--landing_zone source_name]
                 `

## Parameters

| Parameter | Description |
| --- | --- |
| --project | The name of the project. |
| --type | Which type of metadata cache to clear. Possible values are:<br><br><ul> <li> <p><code>landing</code> </p> </li> <li> <p><code>storage</code> </p> <p>&nbsp;</p> <p>If <code>--type <i>landing</i></code> and you want to clear a specific landing zone, you must set the <code>--landing_zone</code> parameter as well. To clear the metadata cache in all landing zones, specify <code>--type <i>landing</i></code> and omit the <code>--landing_zone</code> parameter.</p> </li> </ul> |
| --landing\_zone | the name of the landing zone when --type landing\_zone |

## Example

`ComposeCli.exe clear_cache --project MyProject --type landing --landing_zone MySource1`